]> dgit.raspbian.org Git - gnome-shell.git/commit
layout: Wait for backgrounds to load, even when interrupted
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 12 Feb 2026 12:50:47 +0000 (13:50 +0100)
committerMarge Bot <marge-bot@gnome.org>
Tue, 3 Mar 2026 12:49:04 +0000 (12:49 +0000)
commit0575c6b5745ad84890409a82930705efec71d2d8
treec4181b74b00db2ac2f4587bf7c6c89e13613fe7a
parentac5f521c656d4f88e1b62c2e7e1d610850515ca9
layout: Wait for backgrounds to load, even when interrupted

We no longer get stuck when a background manager is destroyed during
the startup animation, but we now resolve before the new backgrounds
have been loaded.

Address this by keeping the returned promise around until it is fulfilled,
and only resolve it after backgrounds were loaded successfully.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4070>
js/ui/layout.js